package com.vitabuybuy.tv.ui.shopcenter.adapter

import androidx.recyclerview.widget.RecyclerView
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ItemCommodity2Binding
import com.vitabuybuy.tv.dto.GoodsDto
import com.library.common.base.BindRecycAdapter

class RecommendCommodityListAdapter : BindRecycAdapter<ItemCommodity2Binding,GoodsDto>(){
    override fun onBindViewHolder(
        mBinding: ItemCommodity2Binding,
        itemData: GoodsDto,
        holder: RecyclerView.ViewHolder,
        position: Int
    ) {
        mBinding.itemData = itemData
    }

    override fun normalViewId(viewType: Int): Int {
        return R.layout.item_commodity_2
    }
}
